{#<!DOCTYPE html>#}
{#<html lang="en">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <title>welcome to my blogs</title>#}
{#</head>#}
{#<body>#}
{#<h1>欢迎光临我的博客</h1>#}
{##}
{#{% for post in posts %}#}
{#    <hr>#}
{#<p style="font-size: 16px;font-family:微软雅黑;">#}
{#    <a href="/post/{{ post.slug }}">{{ post.title }}</a>#}
{##}
{#</p>#}
{##}
{#<p style="font-size: 30px">{{ post.body   }}</p>#}
{#    <hr>#}
{#{% endfor %}#}
{##}
{#<h3>现在时刻：{{ now }}</h3>#}
{#</body>#}
{#</html>#}
{##}
{% extends 'base.html' %}
{% block title %}欢迎光临我的博客{% endblock %}
{% block headmessage %}
    <h3 style="font-family: 楷体">本站文章列表</h3>
{% endblock %}

{% block content %}
    {% for post in posts %}
    <p style="font-family: 微软雅黑;font-size: 14pt;font-weight: bold;">
    <a href="/post/{{ post.slug }}">{{ post.title }}</a>
    </p>
    {% endfor %}

{% endblock %}